# Issue a single-use link that hands the shopper off

Issue a single-use link that hands the shopper off to a WHMCS payment page. Each call issues a new link.

Endpoint: POST /user/invoices/{invoice_id}/payment-link
Version: 2.1.0

## Path parameters:

  - `invoice_id` (integer, required)
    Invoice ID
    Example: 456

## Response 200 fields (application/json):

  - `data` (object, required)

  - `data.next_action` (object, required)

  - `data.next_action.type` (string, required)
    Enum: "redirect"

  - `data.next_action.url` (string, required)
    Example: "https://example.com/oauth/singlesignon.php?access_token=..."

## Response 401 fields (application/json):

  - `message` (string)


